<?php
namespace haibao\classlibrary;

use \haibao\frame\Environment;

class Config extends \haibao\frame\Environment{
	
	const IS_DEBUG = 'IS_DEBUG';
    /**
     * 异常邮件配置
     */
	const CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_IP = 'CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_IP';
	const CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PORT = 'CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PORT';
	const CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PATH = 'CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PATH';
	
    const CLASSLIBRARY_CONFIG_MAIL_SERVER_IP = 'CLASSLIBRARY_CONFIG_MAIL_SERVER_IP';
    const CLASSLIBRARY_CONFIG_MAIL_SERVER_PORT = 'CLASSLIBRARY_CONFIG_MAIL_SERVER_PORT';
    const CLASSLIBRARY_CONFIG_MAIL_SERVER_PATH = 'CLASSLIBRARY_CONFIG_MAIL_SERVER_PATH';
    const CLASSLIBRARY_CONFIG_MAIL_ERROR_REPORT_ADDRESS = 'CLASSLIBRARY_CONFIG_MAIL_ERROR_REPORT_ADDRESS';
    const CLASSLIBRARY_CONFIG_MAIL_SENDER_ADDRESS = 'CLASSLIBRARY_CONFIG_MAIL_SENDER_ADDRESS';
    
    /**
     * 顶级域名
     */
    const CLASSLIBRARY_CONFIG_HOST_TOP_DOMAIN = 'CLASSLIBRARY_CONFIG_HOST_TOP_DOMAIN';
    
    /**
     * 域名配置
     */
    const CLASSLIBRARY_CONFIG_HAIBAO_URL = 'CLASSLIBRARY_CONFIG_HAIBAO_URL';
    const CLASSLIBRARY_CONFIG_CDN_DOMAIN = 'CLASSLIBRARY_CONFIG_CDN_DOMAIN';
    const CLASSLIBRARY_CONFIG_TV_HAIBAO_URL = 'CLASSLIBRARY_CONFIG_TV_HAIBAO_URL';
    const CLASSLIBRARY_CONFIG_STATIC_DOMAIN = 'CLASSLIBRARY_CONFIG_STATIC_DOMAIN';
    const CLASSLIBRARY_CONFIG_STATIC_ONE_DOMAIN = 'CLASSLIBRARY_CONFIG_STATIC_ONE_DOMAIN';
    const CLASSLIBRARY_CONFIG_STATIC_VERSION = 'CLASSLIBRARY_CONFIG_STATIC_VERSION';
    
    const CLASSLIBRARY_CONFIG_HOST_BOZHU = 'CLASSLIBRARY_CONFIG_HOST_BOZHU';
    const CLASSLIBRARY_CONFIG_HOST_USER = 'CLASSLIBRARY_CONFIG_HOST_USER';
    const CLASSLIBRARY_CONFIG_HOST_TRY = 'CLASSLIBRARY_CONFIG_HOST_TRY';
    const CLASSLIBRARY_CONFIG_HOST_BBS = 'CLASSLIBRARY_CONFIG_HOST_BBS';
    const CLASSLIBRARY_CONFIG_HOST_PIC = 'CLASSLIBRARY_CONFIG_HOST_PIC';
    const CLASSLIBRARY_CONFIG_HOST_EXCLUSIVE = 'CLASSLIBRARY_CONFIG_HOST_EXCLUSIVE';
    const CLASSLIBRARY_CONFIG_HOST_SAY = 'CLASSLIBRARY_CONFIG_HOST_SAY';
    const CLASSLIBRARY_CONFIG_HOST_JEWELRYWATCH = 'CLASSLIBRARY_CONFIG_HOST_JEWELRYWATCH';
    const CLASSLIBRARY_CONFIG_HOST_ACCESSORY = 'CLASSLIBRARY_CONFIG_ACCESSORY_DOMAIN';
    const CLASSLIBRARY_CONFIG_HOST_BEAUTY = 'CLASSLIBRARY_CONFIG_HOST_BEAUTY';
    const CLASSLIBRARY_CONFIG_HOST_LIFE = 'CLASSLIBRARY_CONFIG_HOST_LIFE';
    const CLASSLIBRARY_CONFIG_HOST_FASHION = 'CLASSLIBRARY_CONFIG_HOST_FASHION';
    const CLASSLIBRARY_CONFIG_HOST_CALENDAR = 'CLASSLIBRARY_CONFIG_HOST_CALENDAR';
    const CLASSLIBRARY_CONFIG_HOST_STARS = 'CLASSLIBRARY_CONFIG_HOST_STARS';
    const CLASSLIBRARY_CONFIG_HOST_STAR = 'CLASSLIBRARY_CONFIG_HOST_STAR';
    const CLASSLIBRARY_CONFIG_HOST_BRANDS = 'CLASSLIBRARY_CONFIG_HOST_BRANDS';
    const CLASSLIBRARY_CONFIG_HOST_BRAND = 'CLASSLIBRARY_CONFIG_HOST_BRAND';
    const CLASSLIBRARY_CONFIG_HOST_WEDDING = 'CLASSLIBRARY_CONFIG_HOST_WEDDING';
    const CLASSLIBRARY_CONFIG_HOST_LIBRARY = 'CLASSLIBRARY_CONFIG_HOST_LIBRARY';
    const CLASSLIBRARY_CONFIG_HOST_WAP = 'CLASSLIBRARY_CONFIG_HOST_WAP';
    const CLASSLIBRARY_CONFIG_HOST_COMMENT = 'CLASSLIBRARY_CONFIG_HOST_COMMENT';
    const CLASSLIBRARY_CONFIG_HOST_VIDEO = 'CLASSLIBRARY_CONFIG_HOST_VIDEO';
    const CLASSLIBRARY_CONFIG_HOST_APP = 'CLASSLIBRARY_CONFIG_HOST_APP';
    const CLASSLIBRARY_CONFIG_HOST_API = 'CLASSLIBRARY_CONFIG_HOST_API';
    const CLASSLIBRARY_CONFIG_HOSTS_API = 'CLASSLIBRARY_CONFIG_HOSTS_API';
    const CLASSLIBRARY_CONFIG_HOST_IMAGE = 'CLASSLIBRARY_CONFIG_HOST_IMAGE';
    const CLASSLIBRARY_CONFIG_HOST_DESIGNER = 'CLASSLIBRARY_CONFIG_HOST_DESIGNER';
    const CLASSLIBRARY_CONFIG_TV_HOST = 'CLASSLIBRARY_CONFIG_TV_HOST';
    const CLASSLIBRARY_CONFIG_HOST_TVHAIBAO = 'CLASSLIBRARY_CONFIG_HOST_TVHAIBAO';
    const CLASSLIBRARY_CONFIG_HOST_USER_TVHAIBAO = 'CLASSLIBRARY_CONFIG_HOST_USER_TVHAIBAO';
	const CLASSLIBRARY_CONFIG_HOST_URBILLBOARD = 'CLASSLIBRARY_CONFIG_HOST_URBILLBOARD';
	const CLASSLIBRARY_CONFIG_HOST_AD = 'CLASSLIBRARY_CONFIG_HOST_AD';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ERP = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ERP';
    const CLASSLIBRARY_CONFIG_HOST_VIDEO_TVHAIBAO = 'CLASSLIBRARY_CONFIG_HOST_VIDEO_TVHAIBAO';
    const CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_DB = 'CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_DB';
    const CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_LOG_DB = 'CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_LOG_DB';

    /**
     * 存储路径
     */
    const STORAGE_PATH_UPLOADS = 'STORAGE_PATH_UPLOADS';
    
    /**
     * 是否启用CDN
     */
    const CLASSLIBRARY_CONFIG_CDN_DEFAULT = 'CLASSLIBRARY_CONFIG_CDN_DEFAULT';
    
    /**
     * 生成裁切图片路径密钥
     */
    const CLASSLIBRARY_CONFIG_IMG_ENCRYPT_KEY = 'CLASSLIBRARY_CONFIG_IMG_ENCRYPT_KEY';
    
    /**
     * Cookie
     */
    const CLASSLIBRARY_CONFIG_COOKIE = 'CLASSLIBRARY_CONFIG_COOKIE';
    
    /**
     * ttserver
     */
    const CLASSLIBRARY_CONFIG_TTSERVER = 'CLASSLIBRARY_CONFIG_TTSERVER';
    
    /**
     * MySQL数据库配置
     */
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_CMS = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_CMS';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ARTICLE = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ARTICLE';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_DZ3 = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_DZ3';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_APP = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_APP';
    const CLASSLIBRARY_CONFIG_MYSQL_MONITOR = 'CLASSLIBRARY_CONFIG_MYSQL_MONITOR';
    const CLASSLIBRARY_CONFIG_MYSQL_NEW_BI_UTF8 = 'CLASSLIBRARY_CONFIG_MYSQL_NEW_BI_UTF8';
    const CLASSLIBRARY_CONFIG_MYSQL_NEW_ADV_UTF8 = 'CLASSLIBRARY_CONFIG_MYSQL_NEW_ADV_UTF8';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_WEIXIN = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_WEIXIN';
    const CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_USER = 'CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_USER';
    

    const CLASSLIBRARY_CONFIG_MYSQL_JIEMENG_ARTICLE = 'CLASSLIBRARY_CONFIG_MYSQL_JIEMENG_ARTICLE';
    
    
    /**
     * Redis配置
     */
    const CLASSLIBRARY_CONFIG_REDIS_CMS = 'CLASSLIBRARY_CONFIG_REDIS_DEFAULT';
    const CLASSLIBRARY_CONFIG_REDIS_PCWEB = 'CLASSLIBRARY_CONFIG_REDIS_PCWEB';
    const CLASSLIBRARY_CONFIG_REDIS_MESSAGEBOX = 'CLASSLIBRARY_CONFIG_REDIS_MESSAGEBOX';
    const CLASSLIBRARY_CONFIG_REDIS_WEIXIN = 'CLASSLIBRARY_CONFIG_REDIS_WEIXIN';
	const CLASSLIBRARY_CONFIG_REDIS_APP = 'CLASSLIBRARY_CONFIG_REDIS_APP';
    const CLASSLIBRARY_CONFIG_REDIS_AD = 'CLASSLIBRARY_CONFIG_REDIS_AD';

    /**
     * Memcached配置
     */
    const CLASSLIBRARY_CONFIG_MEMCACHE_BBS = 'CLASSLIBRARY_CONFIG_MEMCACHE_BBS';
    
    /**
     * MongoDB配置
     */
    const CLASSLIBRARY_CONFIG_MONGODB_IMAGE = 'CLASSLIBRARY_CONFIG_MONGODB_IMAGE';
    const CLASSLIBRARY_CONFIG_MONGODB_FEATURE = 'CLASSLIBRARY_CONFIG_MONGO_FEATURE';
    
    /**
     * Sphinx配置
     */
    const CLASSLIBRARY_CONFIG_SPHINX_ARTICLE = 'CLASSLIBRARY_CONFIG_SPHINX_ARTICLE';
    const CLASSLIBRARY_CONFIG_SPHINX_IMAGE = 'CLASSLIBRARY_CONFIG_SPHINX_IMAGE';


    /**
     * 网站模版发布SVN模版路径
     */
    const SITE_PAGE_TEMPLATE_PATH = 'SITE_PAGE_TEMPLATE_PATH';
    /**
     * 
     * 网站控件SVN模版路径
     */
    const SITE_CONTROL_TEMPLATE_PATH = 'SITE_CONTROL_TEMPLATE_PATH';
    
    /**
     * 图片地址前缀cdnNewHost
     */
    const CLASSLIBRARY_CONFIG_CDN_HOST = 'CLASSLIBRARY_CONFIG_CDN_HOST';
	/**
	* 缓存文件
	*/
	const TAG_CACHE_FILES = 'TAG_CACHE_FILES';
	
	
	//kafka
	/**
	 * zookeeper_hostlist
	 */
	const ZOOKEEPR_HOST_LIST = 'ZOOKEEPR_HOST_LIST';
	
	/**
	 * kafka_hostlist
	 */
	const KAFKA_HOST_LIST = 'KAFKA_HOST_LIST';
	
	/**
	* 图集数据
	*/
	const IMAGE_COLLECTIVE_DATA_PATH = 'IMAGE_COLLECTIVE_DATA_PATH';
}

Config::load(array(
	Config::IS_DEBUG => true,
	Config::CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_IP => 'c26-hb-vip-dkim-email.cnet.com.cn',
	Config::CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PORT => 200,
	Config::CLASSLIBRARY_CONFIG_MAIL_BUSINESS_SERVER_PATH => '/',

    Config::CLASSLIBRARY_CONFIG_MAIL_SERVER_IP => '10.15.203.41',
    Config::CLASSLIBRARY_CONFIG_MAIL_SERVER_PORT => 100,
    Config::CLASSLIBRARY_CONFIG_MAIL_SERVER_PATH => '/',
    Config::CLASSLIBRARY_CONFIG_MAIL_SENDER_ADDRESS => 'info@mail.haibao.com',
    Config::CLASSLIBRARY_CONFIG_MAIL_ERROR_REPORT_ADDRESS => 'xiweijie@haibao.com',
    
    Config::CLASSLIBRARY_CONFIG_HOST_TOP_DOMAIN => 'localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HAIBAO_URL => 'http://www.localhaibao.cn:81',
    //Config::CLASSLIBRARY_CONFIG_HAIBAO_URL => 'http://www.dev.haibao.cn',
    Config::CLASSLIBRARY_CONFIG_TV_HAIBAO_URL => 'http://www.tv.cn:81',
    //Config::CLASSLIBRARY_CONFIG_CDN_DOMAIN => 'http://static.dev.haibao.cn',
    //Config::CLASSLIBRARY_CONFIG_STATIC_DOMAIN => 'http://static.dev.haibao.cn',
    Config::CLASSLIBRARY_CONFIG_CDN_DOMAIN => 'http://static.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_STATIC_DOMAIN => 'http://static.localhaibao.cn:81',
    //Config::CLASSLIBRARY_CONFIG_STATIC_ONE_DOMAIN => 'http://s1.dev.haibao.cn',
    Config::CLASSLIBRARY_CONFIG_STATIC_ONE_DOMAIN => 'http://static.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_BOZHU => 'http://fashionista.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_USER => 'http://user.dev.haibao.com',
    Config::CLASSLIBRARY_CONFIG_HOST_TRY => 'http://try.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_BBS => 'http://bbs.dev.haibao.com',
    Config::CLASSLIBRARY_CONFIG_HOST_PIC => 'http://pic.dev.haibao.cn',
    Config::CLASSLIBRARY_CONFIG_HOST_EXCLUSIVE => 'http://exclusive.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_SAY => 'http://say.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_JEWELRYWATCH => 'http://jewelrywatch.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_ACCESSORY => 'http://accessory.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_BEAUTY => 'http://beauty.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_LIFE => 'http://life.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_FASHION => 'http://fashion.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_CALENDAR => 'http://calendar.localhaibao.cn:81/fashion',
    Config::CLASSLIBRARY_CONFIG_HOST_STARS => 'http://stars.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_STAR => 'http://star.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_BRANDS => 'http://brands.dev.haibao.com',
    Config::CLASSLIBRARY_CONFIG_HOST_BRAND => 'http://brand.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_WEDDING => 'http://wedding.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_LIBRARY => 'http://library.localhaibao.com:81',
	Config::CLASSLIBRARY_CONFIG_HOST_DESIGNER => 'http://designer.localhaibao.com:81',
    Config::CLASSLIBRARY_CONFIG_HOST_WAP => 'http://m.localhaibao.com:81',
    Config::CLASSLIBRARY_CONFIG_HOST_COMMENT => 'http://comments.dev.haibao.cn',
    Config::CLASSLIBRARY_CONFIG_HOST_VIDEO => 'http://v.localhaibao.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_API => 'http://api.localhaibao.cn:81/',
    Config::CLASSLIBRARY_CONFIG_HOSTS_API => 'https://api.localhaibao.cn:81/',
    Config::CLASSLIBRARY_CONFIG_HOST_IMAGE => 'http://image.haibao.cn/',
    Config::CLASSLIBRARY_CONFIG_TV_HOST => 'http://tv.haibao.com/',
    Config::CLASSLIBRARY_CONFIG_HOST_TVHAIBAO => 'http://www.tv.cn:81',
    Config::CLASSLIBRARY_CONFIG_HOST_USER_TVHAIBAO=>'http://user.localurbillboard.com:81',
    Config::CLASSLIBRARY_CONFIG_HOST_VIDEO_TVHAIBAO=>'http://vplay.dev.haibao.com',
    Config::CLASSLIBRARY_CONFIG_HOST_URBILLBOARD=>'http://user.localurbillboard.com:81',
    Config::CLASSLIBRARY_CONFIG_HOST_AD=>'http://ad.localhaibao.cn:81',
    
    Config::CLASSLIBRARY_CONFIG_HOST_APP => 'http://a.dev.haibao.com',
    Config::CLASSLIBRARY_CONFIG_STATIC_VERSION => '10',

    Config::STORAGE_PATH_UPLOADS => '/export/media_ext/cms_img_uploads/',

    Config::CLASSLIBRARY_CONFIG_CDN_DEFAULT => false,
	
	Config::IMAGE_COLLECTIVE_DATA_PATH => '/imagecolldata/',
    
    Config::CLASSLIBRARY_CONFIG_IMG_ENCRYPT_KEY => '895f873a0a7',
    
    Config::SITE_PAGE_TEMPLATE_PATH => 'D:/code/php/template.haibao.cn/sitetemplate/page/',
    Config::SITE_CONTROL_TEMPLATE_PATH => 'D:/code/php/template.haibao.cn/sitetemplate/control/',
	Config::TAG_CACHE_FILES => '/export/media_ext_165/devtagcachefiles/',
	
	//kafka
	Config::ZOOKEEPR_HOST_LIST => '10.100.209.37:2181',
	Config::KAFKA_HOST_LIST => '10.100.209.37:9092',
    
    Config::CLASSLIBRARY_CONFIG_COOKIE => array(
        'old_cookie_key' => 'sessionid',
        'cookie_key' => 'new_sid',
        'cookie_expire' => 604800,	// 一周
        'cookie_path' => '/',
        'cookie_domain' => '.localhaibao.com'
    ),
    Config::CLASSLIBRARY_CONFIG_TTSERVER => array(
        'sitename'       =>'海报时尚网',
        'ttserver_host'  =>'ttserver-cluster.dev.haibao.com',
        'ttserver_port'  =>'21213',
        'comment_perpage'=>'20',
        'maxpages'       => '10000',
        'stars_perpage'  =>'20',
        'stars_maxpages' => '10000',
    ),
    
    Config::CONFIG_MYSQL => array(
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_CMS => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_cms',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_cms',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_USER => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_user',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_user',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ARTICLE => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_article',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_article',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_DZ3 => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_dz3',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_dz3',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_APP => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_app',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_app',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_MONITOR => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'pagemonitor',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'pagemonitor',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_NEW_ADV_UTF8 => array(
            'master' => array(
                        'server' => 'mysql3306.dev.haibao.com',
                        'userName' => 'adv_bms_hats',
                        'password' => 'adv_bms_hats',
                        'dbName' => 'new_adv_utf8',
                        'port' =>3306
                    ),
                    'slave' => array(
                        'server' => 'mysql3306.dev.haibao.com',
                        'userName' => 'adv_bms_hats',
                        'password' => 'adv_bms_hats',
                        'dbName' => 'new_adv_utf8',
                        'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_NEW_BI_UTF8 => array(
	        'master' => array(
                        'server' => 'mysql3306.dev.haibao.com',
                        'userName' => 'adv_bms_hats',
                        'password' => 'adv_bms_hats',
                        'dbName' => 'new_bi_utf8',
                        'port' =>3306
                    ),
                    'slave' => array(
                        'server' => 'mysql3306.dev.haibao.com',
                        'userName' => 'adv_bms_hats',
                        'password' => 'adv_bms_hats',
                        'dbName' => 'new_bi_utf8',
                        'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_WEIXIN => array(
            'master' => array(
                'server' => 'mysql3306.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_weixin',
                'port' =>3306
            ),
            'slave' => array(
                'server' => 'mysql3306-s1.dev.haibao.com',
                'userName' => 'hb_article',
                'password' => '!@#haibaoBAO918',
                'dbName' => 'haibao_weixin',
                'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_HAIBAO_ERP => array(
            'master' => array(
            'server' => 'mysql3306.dev.haibao.com',
            'userName' => 'hb_article',
            'password' => '!@#haibaoBAO918',
            'dbName' => 'haibao_erp',
            'port' =>3306
            ),
            'slave' => array(
            'server' => 'mysql3306-s1.dev.haibao.com',
            'userName' => 'hb_article',
            'password' => '!@#haibaoBAO918',
            'dbName' => 'haibao_erp',
            'port' =>3306
            )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_DB => array(
	        'master' => array(
	        'server' => 'mysql3306.dev.haibao.com',
	        'userName' => 'hb_article',
	        'password' => '!@#haibaoBAO918',
	        'dbName' => 'street_snap_db',
	        'port' =>3306
	        ),
	        'slave' => array(
	        'server' => 'mysql3306-s1.dev.haibao.com',
	        'userName' => 'hb_article',
	        'password' => '!@#haibaoBAO918',
	        'dbName' => 'street_snap_db',
	        'port' =>3306
	        )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_STREET_SNAP_LOG_DB => array(
	        'master' => array(
	        'server' => 'mysql3306.dev.haibao.com',
	        'userName' => 'hb_article',
	        'password' => '!@#haibaoBAO918',
	        'dbName' => 'street_snap_log_db',
	        'port' =>3306
	        ),
	        'slave' => array(
	        'server' => 'mysql3306-s1.dev.haibao.com',
	        'userName' => 'hb_article',
	        'password' => '!@#haibaoBAO918',
	        'dbName' => 'street_snap_log_db',
	        'port' =>3306
	        )
        ),
        Config::CLASSLIBRARY_CONFIG_MYSQL_JIEMENG_ARTICLE => array(
            'master' => array(
                        'server' => '10.19.97.11',
                        'userName' => '51jiemeng',
                        'password' => '51@jiemeng',
                        'dbName' => 'ol_article',
                        'port' =>5306
                    ),
            'slave' => array(
                        'server' => '10.19.97.11',
                        'userName' => '51jiemeng',
                        'password' => '51@jiemeng',
                        'dbName' => 'ol_article',
                        'port' =>5306
                    )
        ),
    ),
    
    Config::CONFIG_REDIS => array(
        Config::CLASSLIBRARY_CONFIG_REDIS_CMS => array(
            'host' => 'vipredis1.dev.haibao.com',
            'port' => '20000',
            'dbNumber' => 0,
            'password' => '',
            'userName' => ''
        ),
        Config::CLASSLIBRARY_CONFIG_REDIS_PCWEB => array(
            'host' => 'vipredis2.dev.haibao.com',
            'port' => '20001',
            'dbNumber' => 0,
            'password' => '',
            'userName' => ''
        ),
        Config::CLASSLIBRARY_CONFIG_REDIS_MESSAGEBOX => array(
            'host' => 'c26-hb-vip-www-msgbox-redis5004.cnet.com.cn',
			'port' => '5004',
			'dbNumber' => 0,
			'password' => '',
			'userName' => ''
        ),
        Config::CLASSLIBRARY_CONFIG_REDIS_WEIXIN => array(
	        'host' => 'vipredis1.dev.haibao.com',
	        'port' => '20004',
	        'dbNumber' => 0,
	        'password' => '',
	        'userName' => ''
        ),
        Config::CLASSLIBRARY_CONFIG_REDIS_APP => array(
            'host' => 'vipredis1.dev.haibao.com',
            'port' => '20004',
            'dbNumber' => 0,
            'password' => '',
            'userName' => ''
        ),
        Config::CLASSLIBRARY_CONFIG_REDIS_AD => array(
	        'host' => 'vipredis1.dev.haibao.com',
	        'port' => '20004',
	        'dbNumber' => 0,
	        'password' => '',
	        'userName' => ''
        ),
    ),
    
    Config::CONFIG_MEMCACHE => array(
        Config::CLASSLIBRARY_CONFIG_MEMCACHE_BBS => array(
            'c26-hb-vip-memcached-11219.cnet.com.cn:11219'
        ),
    ),
    
    Config::CONFIG_MONGO => array(
        Config::CLASSLIBRARY_CONFIG_MONGODB_IMAGE => array(
            'connectionString' => 'mongodb://c26-hb-dev-mongo-01.cnet.com.cn:30000,c26-hb-dev-mongo-02.cnet.com.cn:30000',
            'userName' => 'AccUserHaiBao',
            'password' => 'AccUserHaiBao',
            'dbName' => 'haibao_image',
            'replicaSet' => 'hbdev'
        ),
        Config::CLASSLIBRARY_CONFIG_MONGODB_FEATURE => array(
            'connectionString' => 'mongodb://c26-hb-dev-mongo-01.cnet.com.cn:30000,c26-hb-dev-mongo-02.cnet.com.cn:30000',
            'userName' => 'AccUserHaiBao',
            'password' => 'AccUserHaiBao',
            'dbName' => 'haibao_image',
            'replicaSet' => 'hbdev'
        ),
    ),
    
    Config::CONFIG_SPHINX => array(
        Config::CLASSLIBRARY_CONFIG_SPHINX_ARTICLE => array(
            'server' => 'www-sphinx9312.dev.haibao.com',
            'port' => 9312
            ),
        
        Config::CLASSLIBRARY_CONFIG_SPHINX_IMAGE => array(
            'server' => 'www-sphinx9312.dev.haibao.com',
            'port' => 9313
            ),
		Config::CLASSLIBRARY_CONFIG_SPHINX_IMAGE => array(
          'server' => 'www-sphinx9312.dev.haibao.com',
            'port' => 9313
        ),
    ),
    

    Config::CLASSLIBRARY_CONFIG_CDN_HOST => array(
	    'http://c1.haibao.cn/img',
	    'http://c2.haibao.cn/img',
	    'http://c3.haibao.cn/img',
	    'http://c4.haibao.cn/img',
    ),
));